package com.bamanker.cloudapi.constant;

/**
 * SSH 常量类
 *
 * @author bamanker
 */
public class SshConstants {

    //本地的ssh中的known host文件路径
    public static final String SSH_PATH_FILE_KNOWN_HOSTS = "/home/bamanker/.ssh/known_hosts";
    //本地的ssh密钥路径
    public static final String SSH_PATH_FILE_PRIVATE_KEY = "/home/bamanker/.ssh/id_rsa";
    //ssh连接的用户名
    public static final String SSH_USER = "root";
    //ssh远程连接的ip地址
    public static final String SSH_REMOTE_SERVER = "bamanker.cn";
    //ssh连接的端口号，一般默认为22
    public static final Integer SSH_REMOTE_PORT = 22184;
    //SSH使用密码
    //private static String sshPassword;

    //本地mysql发起连接的IP地址
    public static final String MYSQL_REMOTE_SERVER = "127.0.0.1";
    //本地数据库连接时用的端口号(不能填3306)
    public static final Integer LOCAL_PORT_MYSQL = 3310;
    //远程数据库端口用的端口号
    public static final Integer REMOTE_PORT_MYSQL = 3306;

    public static final Integer LOCAL_PORT_REDIS = 6479;

    public static final Integer REMOTE_PORT_REDIS = 6379;

    public static final String REDIS_REMOTE_SERVER = "127.0.0.1";

}
